package br.hm.callmeter.mobileaccount.model;

import java.util.Date;

import br.hm.telephoneoperator.Phone;

public class CallData {

	/**
	 * @uml.property name="phoneSource"
	 * @uml.associationEnd inverse="callData:br.hm.calloperator.Phone"
	 */
	private Phone phoneSource;

	/**
	 * Getter of the property <tt>phoneSource</tt>
	 * 
	 * @return Returns the phoneSource.
	 * @uml.property name="phoneSource"
	 */
	public Phone getPhoneSource() {
		return phoneSource;
	}

	/**
	 * Setter of the property <tt>phoneSource</tt>
	 * 
	 * @param phoneSource
	 *            The phoneSource to set.
	 * @uml.property name="phoneSource"
	 */
	public void setPhoneSource(Phone phoneSource) {
		this.phoneSource = phoneSource;
	}

	/**
	 * @uml.property name="startDate"
	 */
	private Date startDate;

	/**
	 * Getter of the property <tt>date</tt>
	 * 
	 * @return Returns the date.
	 * @uml.property name="startDate"
	 */
	public Date getStartDate() {
		return startDate;
	}

	/**
	 * Setter of the property <tt>date</tt>
	 * 
	 * @param date
	 *            The date to set.
	 * @uml.property name="startDate"
	 */
	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	/**
	 * @uml.property name="duration"
	 */
	private int duration;

	/**
	 * Getter of the property <tt>timeUse</tt>
	 * 
	 * @return Returns the timeUse.
	 * @uml.property name="duration"
	 */
	public int getDuration() {
		return duration;
	}

	/**
	 * Setter of the property <tt>timeUse</tt>
	 * 
	 * @param timeUse
	 *            The timeUse to set.
	 * @uml.property name="duration"
	 */
	public void setDuration(int duration) {
		this.duration = duration;
	}

	/**
	 * @uml.property name="rate"
	 */
	private CallRate rate;

	/**
	 * Getter of the property <tt>rate</tt>
	 * 
	 * @return Returns the rate.
	 * @uml.property name="rate"
	 */
	public CallRate getRate() {
		return rate;
	}

	/**
	 * Setter of the property <tt>rate</tt>
	 * 
	 * @param rate
	 *            The rate to set.
	 * @uml.property name="rate"
	 */
	public void setRate(CallRate rate) {
		this.rate = rate;
	}

	/**
	 * @uml.property name="fieldCode"
	 */
	private String fieldCode;

	/**
	 * Getter of the property <tt>fieldCode</tt>
	 * 
	 * @return Returns the fieldCode.
	 * @uml.property name="fieldCode"
	 */
	public String getFieldCode() {
		return fieldCode;
	}

	/**
	 * Setter of the property <tt>fieldCode</tt>
	 * 
	 * @param fieldCode
	 *            The fieldCode to set.
	 * @uml.property name="fieldCode"
	 */
	public void setFieldCode(String fieldCode) {
		this.fieldCode = fieldCode;
	}

}
